package F01;

import java.io.File;

public class Test1 {
    public static void main(String[] args) {
        File f1=new File("D:File/java.txt");
        System.out.println(f1);

        File f2=new File("D:File","java.txt");
        System.out.println(f2);

        File f3=new File("D:File");

        File f4=new File(f3,"java.txt");
        System.out.println(f4);


    }
}
